package com.work.user.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

@Table(name = "t_role")
@Data
public class Role implements Serializable {
    @Id
    private Integer id;
    private String role;
    private String info;
    private String category;
    private Set<Menu> menus = new HashSet<>();
}
